﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZWaveApi.Net;

namespace ZWaveApiTest {
    class Program {
        static void Main(string[] args) {

            ZWaveController zc = new ZWaveController("COM3");

            Console.ReadLine();
            zc.Open();


            Console.WriteLine("Press enter to close");
            Console.ReadLine();

            zc.Close();

            Console.WriteLine("Press enter to exit");
            Console.ReadLine();

            Console.Clear();

            Environment.Exit(-1);

        }

    }
}
